home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / qlib205.zip / QLIB.ZIP / BIN / WCPP2OBJ.BAT < prev   
DOS Batch File  |  1997-07-13  |  457b  |  20 lines

  1. @echo off
  2. if "%1"=="" goto usage
  3. if exist %1 goto usage
  4. if exist %1.obj del %1.obj
  5. if exist *.tmp del *.tmp
  6.  
  7. wpp386 -s -zl -fpi87 -fp3 -mf -3s -zp1 -zdp -zfp -zgp -i=%qlib%\h -fo=%1.obj %2 %3 %4 %5 %6 %7 %8 %9 %1.cpp
  8. if not exist %1.obj goto end
  9. goto done
  10.  
  11. :usage
  12. echo Usage : WCPP2OBJ file [...]
  13. echo   file - file to compile to OBJ (do not give .CPP extension)
  14. echo   [...] - options to give to WC
  15.  
  16. :done
  17. if exist *.tmp del *.tmp
  18.  
  19. :end
  20.